package com._5704.website.shiro;

import lombok.AllArgsConstructor;
import lombok.Getter;
import org.apache.shiro.authc.AuthenticationToken;


@AllArgsConstructor
public class JwtToken implements AuthenticationToken {
    @Getter
    private String token;
    @Override
    public Object getPrincipal() {
        return token;
    }

    @Override
    public Object getCredentials() {
        return token;
    }

}
